# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=himitsu-keyring
pkgver=0.2.0
pkgrel=0
pkgdesc="Himitsu keystore frontend"
url="https://git.sr.ht/~martijnbraam/keyring"
arch="x86_64 aarch64" # Limited by himitsu
license="GPL-3.0-or-later"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~martijnbraam/keyring/archive/$pkgver.tar.gz"
depends="python3 py3-gobject3 gtk+3.0 himitsu libhandy1"
makedepends="py3-setuptools glib-dev meson ninja libhandy1-dev"
builddir="$srcdir/keyring-$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
3bfe6e8f021c2b62c35290c3614c17646c0835409eabd5dcc8abb45c91176867466b7bdd58373f9d61768e2c1083df0e4ebcc708e799bd651343b41b0c55fa63  himitsu-keyring-0.2.0.tar.gz
"
